<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" href="../../component/pear/css/pear.css" />
	<link rel="stylesheet" href="../../admin/css/other/person.css" />
</head>
<body class="pear-container">
	<div class="layui-row layui-col-space10">
		<div class="layui-col-md3">
			<div class="layui-card">
				<div class="layui-card-body" style="padding: 25px;">
					<div class="text-center layui-text">
						<div class="user-info-head" id="userInfoHead">
							<img src="" id="userAvatar" width="115px" height="115px" alt="">
						</div>
						<h2 style="padding-top: 20px;font-size: 20px;">就眠仪式</h2>
						<p style="padding-top: 8px;margin-top: 10px;font-size: 13.5px;">China ， 中国</p>
					</div>
				</div>
				<div style="height: 45px;border-top: 1px whitesmoke solid;text-align: center;line-height: 45px;font-size: 13.5px;">
					<span>笃学 重行 修德 立才</span>
				</div>
			</div>


		</div>

	</div>
	<script src="../../component/layui/layui.js"></script>
	<script>
		layui.use(['jquery', 'element', 'layer'], function () {
			var element = layui.element,
				layer = layui.layer,
				$ = layui.jquery;

			let MODULE_PATH = "operate/";
			$("#userAvatar").attr("src", parent.layui.$(".layui-nav-img").attr("src"));

			// window.callback = function (data) {
			// 	layer.close(data.index);
            //     $("#userAvatar").attr("src", data.newAvatar);
            //     parent.layui.$(".layui-nav-img").attr("src", data.newAvatar);
            // }

			// $("#userAvatar").click(function () {
			// 	layer.open({
			// 		type: 2,
			// 		title: '更换图片',
			// 		shade: 0.1,
			// 		area: ["900px", "500px"],
			// 		content: MODULE_PATH + 'uploadProfile.html',
			// 		btn: ['确定', '取消'],
			// 		yes: function (index, layero) {
			// 			window['layui-layer-iframe' + index].submitForm();
			// 		}
			// 	});
			// });
		});
	</script>
</body>
</html>
